package com.three.server.alipay;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
public class AlipayConfig {
    @Value("${spring.alipay.appId}")
    private String appId;
    @Value("${spring.alipay.appPrivateKey}")
    private String appPrivateKey;
    @Value("{spring.alipay.alipayPublicKey}")
    private String alipayPublicKey;
    @Value("${spring.alipay.notifyUrl}")
    private String notifyUrl;
    @Value("${spring.alipay.returnUrl}")
    private String returnUrl;
}
